#!/usr/bin/env bash
imagesPath=$1
loadingPath=$2
loginBjPath=$3
logoPath=$4
echo "start to exchange picture"
cd $imagesPath
if [[ -n $loadingPath ]]; then
	rm -f "loading.jpg"
	cp $loadingPath "./loading.jpg"
fi

if [[ -n $loginBjPath ]]; then
	rm -f "loginBj.jpg"
	cp $loginBjPath "./loginBj.jpg"
fi

if [[ -n $logoPath ]]; then
	rm -f "loginLogo.png"
	cp $logoPath "./loginLogo.png"
fi
echo "end to exchange picture"


